cmake_minimum_required(VERSION 2.8)

PROJECT ( archiver CXX )

FIND_PACKAGE(Boost COMPONENTS program_options)
FIND_LIBRARY(Armadillo_LIBRARY armadillo)

ADD_DEFINITIONS(-Wall -O2)
#ADD_DEFINITIONS(-Wall -O2 -Wl,-rpath,/opt/lpsolve)

#SUBDIRS(
#)

message("Boost program options at " ${Boost_PROGRAM_OPTIONS_LIBRARY})
message("Armadillo at " ${Armadillo_LIBRARY})

ADD_EXECUTABLE(svm_test
  test/svm_test.cc
)

TARGET_LINK_LIBRARIES(svm_test
  #${Boost_PROGRAM_OPTIONS_LIBRARY}
  boost_program_options
  armadillo
  #${Armadillo_LIBRARY}
  #lpsolve55
)

